package com.zbkj.service.dao.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.order.OrderDetail;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单明细表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-09-15
 */
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    int getValidYearProductOrderCount(@Param("userId") Long userId);
}
